Optimal. Leaf size=119 \[ -\frac {b (A+2 C) \sin ^3(c+d x) \sqrt {b \cos (c+d x)}}{3 d \sqrt {\cos (c+d x)}}+\frac {b (A+C) \sin (c+d x) \sqrt {b \cos (c+d x)}}{d \sqrt {\cos (c+d x)}}+\frac {b C \sin ^5(c+d x) \sqrt {b \cos (c+d x)}}{5 d \sqrt {\cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.06, antiderivative size = 119, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {17, 3013, 373} \[ -\frac {b (A+2 C) \sin ^3(c+d x) \sqrt {b \cos (c+d x)}}{3 d \sqrt {\cos (c+d x)}}+\frac {b (A+C) \sin (c+d x) \sqrt {b \cos (c+d x)}}{d \sqrt {\cos (c+d x)}}+\frac {b C \sin ^5(c+d x) \sqrt {b \cos (c+d x)}}{5 d \sqrt {\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 17
Rule 373
Rule 3013
Rubi steps
\begin {align*} \int \cos ^{\frac {3}{2}}(c+d x) (b \cos (c+d x))^{3/2} \left (A+C \cos ^2(c+d x)\right ) \, dx &=\frac {\left (b \sqrt {b \cos (c+d x)}\right ) \int \cos ^3(c+d x) \left (A+C \cos ^2(c+d x)\right ) \, dx}{\sqrt {\cos (c+d x)}}\\ &=-\frac {\left (b \sqrt {b \cos (c+d x)}\right ) \operatorname {Subst}\left (\int \left (1-x^2\right ) \left (A+C-C x^2\right ) \, dx,x,-\sin (c+d x)\right )}{d \sqrt {\cos (c+d x)}}\\ &=-\frac {\left (b \sqrt {b \cos (c+d x)}\right ) \operatorname {Subst}\left (\int \left (A \left (1+\frac {C}{A}\right )-(A+2 C) x^2+C x^4\right ) \, dx,x,-\sin (c+d x)\right )}{d \sqrt {\cos (c+d x)}}\\ &=\frac {b (A+C) \sqrt {b \cos (c+d x)} \sin (c+d x)}{d \sqrt {\cos (c+d x)}}-\frac {b (A+2 C) \sqrt {b \cos (c+d x)} \sin ^3(c+d x)}{3 d \sqrt {\cos (c+d x)}}+\frac {b C \sqrt {b \cos (c+d x)} \sin ^5(c+d x)}{5 d \sqrt {\cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.26, size = 70, normalized size = 0.59 \[ \frac {\sin (c+d x) (b \cos (c+d x))^{3/2} (4 (5 A+7 C) \cos (2 (c+d x))+100 A+3 C \cos (4 (c+d x))+89 C)}{120 d \cos ^{\frac {3}{2}}(c+d x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 69, normalized size = 0.58 \[ \frac {{\left (3 \, C b \cos \left (d x + c\right )^{4} + {\left (5 \, A + 4 \, C\right )} b \cos \left (d x + c\right )^{2} + 2 \, {\left (5 \, A + 4 \, C\right )} b\right )} \sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{15 \, d \sqrt {\cos \left (d x + c\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.27, size = 70, normalized size = 0.59 \[ \frac {\left (3 C \left (\cos ^{4}\left (d x +c \right )\right )+5 A \left (\cos ^{2}\left (d x +c \right )\right )+4 C \left (\cos ^{2}\left (d x +c \right )\right )+10 A +8 C \right ) \sin \left (d x +c \right ) \left (b \cos \left (d x +c \right )\right )^{\frac {3}{2}}}{15 d \cos \left (d x +c \right )^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.31, size = 117, normalized size = 0.98 \[ \frac {20 \, {\left (b \sin \left (3 \, d x + 3 \, c\right ) + 9 \, b \sin \left (\frac {1}{3} \, \arctan \left (\sin \left (3 \, d x + 3 \, c\right ), \cos \left (3 \, d x + 3 \, c\right )\right )\right )\right )} A \sqrt {b} + {\left (3 \, b \sin \left (5 \, d x + 5 \, c\right ) + 25 \, b \sin \left (\frac {3}{5} \, \arctan \left (\sin \left (5 \, d x + 5 \, c\right ), \cos \left (5 \, d x + 5 \, c\right )\right )\right ) + 150 \, b \sin \left (\frac {1}{5} \, \arctan \left (\sin \left (5 \, d x + 5 \, c\right ), \cos \left (5 \, d x + 5 \, c\right )\right )\right )\right )} C \sqrt {b}}{240 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.24, size = 98, normalized size = 0.82 \[ \frac {b\,\sqrt {\cos \left (c+d\,x\right )}\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (200\,A\,\sin \left (2\,c+2\,d\,x\right )+20\,A\,\sin \left (4\,c+4\,d\,x\right )+175\,C\,\sin \left (2\,c+2\,d\,x\right )+28\,C\,\sin \left (4\,c+4\,d\,x\right )+3\,C\,\sin \left (6\,c+6\,d\,x\right )\right )}{240\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________